package com.hualu.zks.Model;
/**
 *
 * @author Administrator
 */
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="zks_user")
public class User {
    private Integer id;
    private String username;
    private String password;
    private String userType;
    private String loginInfo;
    private String status;

    public User(Integer id, String username, String password, String userType, String loginInfo, String status) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.userType = userType;
        this.loginInfo = loginInfo;
        this.status = status;
    }

    

    public User() {
    }

    @Id
    @GeneratedValue
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public String getLoginInfo() {
        return loginInfo;
    }

    public void setLoginInfo(String loginInfo) {
        this.loginInfo = loginInfo;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    
    
}
